import Vue from 'vue'

// 导入 app 组件
import app from './App.vue'

import VueRouter from 'vue-router'
// 2. 手动安装 VueRouter
Vue.use(VueRouter);

 // 导入 自定义路由模块
import router from './router.js'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);

var vm = new Vue({
    el: '#app',
    render: c => c(app),
    router: router
});
